package com.ken.astroboy.dto;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.ken.astroboy.vo.GroupVo;

public class ScheduledTaskDto {

    public static final String EDIT_MODE = "EDIT_MODE";
    public static final String CREATE_MODE = "CREATE_MODE";
    
    private String keyword;
    private String scheduledTime;
    private String textToSend1;
    private String textToSend2;
    private String imgToSend;
    private String jobClassName;
    private List<String> wxGroupSelected;
    private List<GroupVo> wxGroupAll;
    private String friendReceivers;
    private String customGroupSelected;
    private String mode;
    private String selectedImgUrl;
    
    public ScheduledTaskDto() {
        this.keyword = "";
        this.scheduledTime = "";
        this.textToSend1 = "";
        this.textToSend2 = "";
        this.imgToSend = "";
        this.jobClassName = "";
        this.wxGroupSelected = new ArrayList<>();
        this.wxGroupAll = new ArrayList<>();
        this.friendReceivers = "";
        this.customGroupSelected = "";
        this.mode = ScheduledTaskDto.CREATE_MODE;
        this.selectedImgUrl = "";
    }
    
    public String getKeyword() {
        return keyword;
    }
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
    public String getScheduledTime() {
        return scheduledTime;
    }
    public void setScheduledTime(String scheduledTime) {
        this.scheduledTime = scheduledTime;
    }
    public String getTextToSend1() {
        return textToSend1;
    }
    public void setTextToSend1(String textToSend1) {
        this.textToSend1 = textToSend1;
    }
    public String getTextToSend2() {
        return textToSend2;
    }
    public void setTextToSend2(String textToSend2) {
        this.textToSend2 = textToSend2;
    }
    public String getImgToSend() {
        return imgToSend;
    }
    public void setImgToSend(String imgToSend) {
        this.imgToSend = imgToSend;
    }
    public String getJobClassName() {
        return jobClassName;
    }
    public void setJobClassName(String jobClassName) {
        this.jobClassName = jobClassName;
    }
    public List<String> getWxGroupSelected() {
        return wxGroupSelected;
    }
    public void setWxGroupSelected(List<String> wxGroupSelected) {
        this.wxGroupSelected = wxGroupSelected;
    }
    public List<GroupVo> getWxGroupAll() {
        return wxGroupAll;
    }
    public void setWxGroupAll(List<GroupVo> wxGroupAll) {
        this.wxGroupAll = wxGroupAll;
    }
    public String getFriendReceivers() {
        return friendReceivers;
    }
    public void setFriendReceivers(String friendReceivers) {
        this.friendReceivers = friendReceivers;
    }
    public String getCustomGroupSelected() {
        return customGroupSelected;
    }
    public void setCustomGroupSelected(String customGroupSelected) {
        this.customGroupSelected = customGroupSelected;
    }
    public String getMode() {
        return mode;
    }
    public void setMode(String mode) {
        this.mode = mode;
    }
    public String getSelectedImgUrl() {
        return selectedImgUrl;
    }
    public void setSelectedImgUrl(String selectedImgUrl) {
        this.selectedImgUrl = selectedImgUrl;
    }

    @Override
    public String toString() {
       return ToStringBuilder.reflectionToString(this);
    } 
}
